package com.ericsson.rm.model;

import java.io.Serializable;
import javax.persistence.*;


/**
 * The persistent class for the PROJECT_SKILL_DETAIL database table.
 * 
 */
@Entity
@Table(name="RP_PROJECT_SKILL_DETAIL")
public class ProjectSkillDetail implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@Column(name="PROJECT_SKILL_ID")
	private String projectSkillId;

	@Column(name="NO_OF_RESOURCES")
	private String noOfResources;

	//bi-directional many-to-one association to ProjectDetail
	@ManyToOne
	@JoinColumn(name="PROJECT_ID")
	private ProjectDetail projectDetail;

	//bi-directional many-to-one association to SkillDetail
	@ManyToOne
	@JoinColumn(name="SKILL_ID")
	private SkillDetail skillDetail;

	public ProjectSkillDetail() {
	}

	public String getProjectSkillId() {
		return this.projectSkillId;
	}

	public void setProjectSkillId(String projectSkillId) {
		this.projectSkillId = projectSkillId;
	}

	public String getNoOfResources() {
		return this.noOfResources;
	}

	public void setNoOfResources(String noOfResources) {
		this.noOfResources = noOfResources;
	}

	public ProjectDetail getProjectDetail() {
		return this.projectDetail;
	}

	public void setProjectDetail(ProjectDetail projectDetail) {
		this.projectDetail = projectDetail;
	}

	public SkillDetail getSkillDetail() {
		return this.skillDetail;
	}

	public void setSkillDetail(SkillDetail skillDetail) {
		this.skillDetail = skillDetail;
	}

}